package com.atguigu.gamll_sugar.service.impl;

import com.atguigu.gamll_sugar.entity.KeywordStats;
import com.atguigu.gamll_sugar.mapper.KeywordStatsMapper;
import com.atguigu.gamll_sugar.service.KeywordStatsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chenlongStart
 * @create 2021-07-07 21:28
 * @desc
 */
@Service
public class KeywordStatsServiceImpl implements KeywordStatsService {


    @Autowired
    KeywordStatsMapper keyword;

    @Override
    public List<KeywordStats> selectKeywordStats(int date, int limit) {
        return keyword.selectKeywordStats(date,limit);
    }
}
